package com.xhh.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhh.model.common.dtos.ResponseResult;
import com.xhh.model.user.pojos.Permission;
import com.xhh.model.user.vos.PermissionListVo;

import java.util.List;

/**
 * <p>
 * 菜单权限表 服务类
 * </p>
 *
 * @author xhh
 * @since 2024-08-11
 */
public interface IPermissionService extends IService<Permission> {
    /**
     * 根据用户id获取所属的权限
     * @param userId
     * @return
     */
    ResponseResult getPermissionByUserId(Long userId);
}
